package org.dcc.controller;

import org.dcc.controller.registrar.EnableHelloService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

@EnableFeignClients("org.dcc.api.clients")
@SpringBootApplication
public class ControllerStart {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(ControllerStart.class, args);

        System.out.println(context.getClass().getName());
        System.out.println(context.getClass().getCanonicalName());
        int[] bA = new int[1];
        System.out.println(bA.getClass().getName());
        System.out.println(bA.getClass().getCanonicalName());

    }


}
